package com.ruoyi.system.domain.api;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 版本管理对象 b_app_version
 * 
 * @author ruoyi
 * @date 2022-04-21
 */
public class BAppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 1安卓 2IOS */
    @Excel(name = "1安卓 2IOS")
    private Integer type;

    /** 文本内容 */
    @Excel(name = "文本内容")
    private String content;

    /** 是否强制更新0否 1是 */
    @Excel(name = "是否强制更新0否 1是")
    private Integer isForce;

    /** 第几版本 */
    @Excel(name = "第几版本")
    private Long versionNumber;

    /** 下载地址 */
    @Excel(name = "下载地址")
    private String url;

    /** 1可用 0 不可用 */
    @Excel(name = "1可用 0 不可用")
    private Integer status;

    /** 版本号 */
    @Excel(name = "版本号")
    private String versionNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setIsForce(Integer isForce) 
    {
        this.isForce = isForce;
    }

    public Integer getIsForce() 
    {
        return isForce;
    }
    public void setVersionNumber(Long versionNumber) 
    {
        this.versionNumber = versionNumber;
    }

    public Long getVersionNumber() 
    {
        return versionNumber;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setVersionNo(String versionNo) 
    {
        this.versionNo = versionNo;
    }

    public String getVersionNo() 
    {
        return versionNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("content", getContent())
            .append("isForce", getIsForce())
            .append("versionNumber", getVersionNumber())
            .append("url", getUrl())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("versionNo", getVersionNo())
            .toString();
    }
}
